/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dalInterface;

import java.rmi.Remote;
import java.rmi.RemoteException;
import utils.DataTable;

/**
 *
 * @author salm
 */
public interface DALAccount extends Remote
{
    DataTable getAccount(String userName, String password) throws RemoteException;
    boolean isAccountExist(String userName) throws RemoteException;
    
    boolean insertAccount(String userName, String password) throws RemoteException;
    boolean changePassword( String userName, String oldPas, String newPas ) throws RemoteException;
    DataTable getAccountInfo( String userName ) throws RemoteException;
}